//@author A0101906R
#include "CmdExit.h"

using namespace Twentyfifth;
using namespace std;

const std::string CmdExit::ERROR_UNDOEXIT = "Exit cannot be undone.\n";

CmdExit::CmdExit() {
	cmdType = EXIT;
}

Status CmdExit::execution() {
	return Status(Status::EXIT);
}

Status CmdExit::undo(Status::StatusCode c) {
	return Status(Status::ERR_OTHER, ERROR_UNDOEXIT);
}

